package com.wms.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 调拨单详情新增/更新参数
 */
@Data
public class AllocatetailSaveVo {
    @ApiModelProperty(name = "id", notes = "详情ID（更新时必填）")
    private Integer id;

    @ApiModelProperty(name = "orderId", notes = "关联调拨单ID", required = true)
    private Integer orderId;

    @ApiModelProperty(name = "code", notes = "物品编码", required = true)
    private String code;

    @ApiModelProperty(name = "name", notes = "物品名称", required = true)
    private String name;

    @ApiModelProperty(name = "availableStock", notes = "可用库存")
    private Integer availableStock;

    @ApiModelProperty(name = "applyNum", notes = "申请数量")
    private Integer applyNum;

    @ApiModelProperty(name = "auditNum", notes = "审批数量")
    private Integer auditNum;

    @ApiModelProperty(name = "outNum", notes = "已出库数量")
    private Integer outNum;

    @ApiModelProperty(name = "box", notes = "周转筐")
    private String box;

    @ApiModelProperty(name = "picurl", notes = "图片地址")
    private String picurl;

    @ApiModelProperty(name = "unit", notes = "计量单位")
    private String unit;

    @ApiModelProperty(name = "price", notes = "单价")
    private String price;
}
